package com.example.resturant.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SubmitOrderRequestDTO {

    private Integer addressId;
    private String getType;
    private Date getTime;
    private List<MenuDTO> menus;
    private Double totalMoney;
    private Boolean longTerm;

    @Data
    public static class MenuDTO {
        private Integer productId;
        private String title;
        private Double  price;
        private Integer quantity;
    }
}
